import request from '@/utils/request'

// 查询杂费价目列表
export function listMiscellaneousFeesPrice(query) {
  return request({
    url: '/ys/miscellaneousFeesPrice/list',
    method: 'get',
    params: query
  })
}

// 查询杂费价目详细
export function getMiscellaneousFeesPrice(id) {
  return request({
    url: '/ys/miscellaneousFeesPrice/' + id,
    method: 'get'
  })
}

// 新增杂费价目
export function addMiscellaneousFeesPrice(data) {
  return request({
    url: '/ys/miscellaneousFeesPrice',
    method: 'post',
    data: data
  })
}

// 修改杂费价目
export function updateMiscellaneousFeesPrice(data) {
  return request({
    url: '/ys/miscellaneousFeesPrice',
    method: 'put',
    data: data
  })
}

// 删除杂费价目
export function delMiscellaneousFeesPrice(id) {
  return request({
    url: '/ys/miscellaneousFeesPrice/' + id,
    method: 'delete'
  })
}
